package com.ruoyi.business.scheduledDIct;

import cn.hutool.core.lang.Dict;
import com.ruoyi.business.mapper.DictMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @className: ScheduledDict
 * @Description: TODO
 * @version: v1.８.0
 * @author: 王家敏
 * @date: 2025/10/20 9:38
 */
@Component
public class ScheduledDict implements ApplicationRunner {
    @Autowired
    private DictMapper dictMapper;
    @Autowired
    RedisTemplate redisTemplate;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        List<Dict> dictList= dictMapper.getDic();
    }
}
